]> dgit.raspbian.org Git - gnome-shell.git/commit
WorkspaceBackground: Fully take care of workarea geometry on allocation
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 18 Jun 2021 17:11:34 +0000 (19:11 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 16 Jul 2021 22:25:50 +0000 (00:25 +0200)
commitf30fa1adc77265cbaff2497c7abc7eed310fde72
tree3bfd4aab9ed6039c66c0b0aaae58d49542068166
parent28a42da9475e95373370b5d37694edc96ea80e1a
WorkspaceBackground: Fully take care of workarea geometry on allocation

The background group is currently allocated taking care of the workarea
x, y offset but not of its width/height and this may lead to building a
wrongly sized workspace view when the workarea size is not matching the
monitor size (like when there are struts set).

So, take care of the difference between the workarea and monitor
absolute end coordinates to allocate the background scaled content box.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1892>
js/ui/workspace.js